<style>
    .page{

    }
    .pageView, .pageSetMeal, .pageSingle{
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        max-height: 100vh;
    }
    .page-hv{
    }
    .page-hv .hv-title {
        background: linear-gradient(to right, rgba(216,30,6,0.6), rgba(216,30,6,1));
        -webkit-background-clip: text;
        color: transparent;
        font-weight: bold;
        font-size: .34rem;
        letter-spacing:0.5px;
    }
    .page-hv ::-webkit-scrollbar {
        display: none;
    }
    .hv-content {
        /*解决ios上滑动不流畅*/
        -webkit-overflow-scrolling: touch;
    }
    .hv-content .content-name{
        font-size: .24rem;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .page-content{
        flex:1;
        display: flex;
        flex-direction: row;
    }
    .content-left{
        flex: 1;
        background-color: #F5F5F5;
        color:#B2B2B2;
        overflow-y: auto;
    }
    .text-choose{
        font-size: .28rem;
        font-weight: bold;
        color: #0f0f0f;
    }
    .bigText-choose{
        font-size: .45rem;
        font-weight: bold;
        color: #0f0f0f;
    }
    .bigText-tips{
        font-size:.45rem ;
    }
    .content-right{
        flex:3;
        overflow-y: auto;
    }
    .page-bottom{
    }
    .page-bottom .left{

    }
    .page-bottom .center{

    }
    .page-bottom .right{
        background: #FA2046;
        color: white;
        padding: 10px 0;
        font-size: .32rem
    }
    .page-bottom .right1{
        background: #999999;
        color: white;
        padding-top: 12px;
        font-size: .36rem
    }
    .page-bottom span{

    }
    .text-color{
        color: #FA2046;
    }

    .smallPhoto{
        width:1.76rem;
        height:1.6rem;
        margin-right:.16rem;
        display:block
    }
    .bigPhoto{
        width:2.72rem;
        height:2.72rem;
        margin-right:.32rem;
        display:block
    }
    .recommendImg{
        height :0;
        overflow :hidden;
        padding-bottom :76.7%
    }
    .box {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        max-height: 70%;
    }

    .box .content {
        position: relative;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .box .bg-title{
        background: #FA2046;
        color: white;
        font-size: .28rem;
    }
    .content.weui-cells::after {
        border-bottom: none;
    }
    .floatImg{
        position:fixed;
        bottom:1.8rem ;
        right: 0;
    }
    .bigIcon {
        width: .72rem;
        height: .72rem;
    }
    .normalIcon{
        width: .46rem;
        height: .46rem;
    }
    .smallIcon{
        width: .34rem;
        height: .34rem;
    }
    .weui-btn_orange{
        background-color:#E64340 ;
    }
    .weui-btn_orangeBottom{
        background: linear-gradient(to right, rgba(254,121,84,0.8), rgba(254,121,84,1));
    }
    .weui-btn_gray{
        background-color: #999999;
    }
    .showDetail .weui-cells:before {
        border-top: none;
    }
    .weui-cells_checkbox .weui-check:checked + .weui-icon-checked:before {
        content: '\EA06';
        color: #FA2046;
    }
    .type-choose{
        font-size: .28rem;
        font-weight: bold;
        color: #0f0f0f;
        border-left: 5px solid red;
    }
    .BigFloatImg{
        width:60px ;
        height: 60px;
    }
    .SmallFloatImg{
        width:50px ;
        height: 50px;
    }
    .commendItem{
        width:2.4rem;
        display:inline-block;
        margin-bottom: 3px;
        border: 1px solid #eee;
        box-shadow: 0px 1px 3px #E2E2E2;
    }
</style>
<!--<div class="page article js_show" ng-controller="OrderDishesCtrl"
     style="height:100%;display: flex;flex-direction: column;">
    <div style="flex:1;overflow-y: auto;display: flex;height: 100%"
         ng-show="!currMenuItem.isMeal()&& !currMenuItem.isSetMeal()&&!currMenuItem.isOneStandardMeal">
        <div class="text-center" style="flex: 1;height: 100%; overflow-y: auto">
            <ul class="bg-default" ng-class="{'scroll':cart.showMask}">
                <li class="wrapper-md b-b" ng-repeat="item in menu.menuTypes"
                    ng-click="menu.btnChooseCurrType_click(item)"
                    ng-class="{'bg-primary':currMenuType.menuType == item,'b-l':currMenuType.menuType == item}">
                    <span>{{item.name}}</span>
                </li>
            </ul>
        </div>
        <div style="flex:3;height: 100%; overflow-y: scroll">
            <div ng-class="{'scroll':cart.showMask}">
                <div class="weui-flex bg-default">
                    <div class="weui-flex__item text-left wrapper-xs text-xs" ng-bind="currMenuType.menuType.name"></div>
                </div>
                <div class="weui-cells"
                     ng-repeat="item in menu.menuItems | filter: { typecode:currMenuType.menuType.code}"
                     style="margin-top:0px">
                    <label class="weui-cell">
                        <div class="weui-cell__hd" ng-show="item.picpath != ''" ng-click="menu.btnChooseItem_click(item,'img')">
                            <img src="../..{{ item.picpath }}" img-error="img/wx/order_dishes/diancai_nopic.png"
                                 style="width:64px;height:64px;margin-right:5px;display:block"/>
                        </div>
                        <div class="weui-cell__hd" ng-show="item.picpath == ''" ng-click="menu.btnChooseItem_click(item,'img')">
                            <img src="img/wx/order_dishes/menuitem-default.png"
                                 style="width:80%;margin-right:5px;display:block"/>
                        </div>
                        <div class="weui-cell__bd text-left">
                            <p><span class="text-tips">{{item.name}}</span></p>
                            <div class="weui-flex">
                                <div class="weui-flex__item" ng-show="item.isOneStandards()">
                                    <p style="color:red">
                                        ￥<span class="text-tips">{{item.standards[0].price}}</span>/<span
                                            class="text-tips">{{item.standards[0].unit}}</span>
                                    </p>
                                </div>
                                <div class="weui-flex__item" ng-show="!item.isOneStandards()">
                                    <p style="color:red">
                                        ￥<span class="text-tips">{{item.standards[0].price}}</span><span
                                            class="text-tips">起</span>
                                    </p>
                                </div>
                                <div class="text-right">
                                    <div class="weui-flex"  ng-show="!item.isSoldOut">
                                        <div style="margin-top:4px" ng-show="cart.itemCount(item)!=0">
                                            <img style="width:70%;" ng-click="menu.btnMinusCount_click(item)"
                                                 src=""/>
                                        </div>
                                        <div class="weui-flex__item m-l-sm" ng-show="cart.itemCount(item)!=0">
                                            {{cart.itemCount(item)}}
                                        </div>
                                        <div style="margin-top:4px">
                                            <img style="width:70%;" ng-click="menu.btnChooseItem_click(item)"
                                                 src=""/>
                                        </div>
                                    </div>
                                     <div class="weui-flex" ng-show="item.isSoldOut" style="color: #888;font-size: 14px">
                                        <span >卖光啦</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </label>
                </div>
            </div>
        </div>
    </div>
    <div class="left" ng-show="currMenuItem.isMeal() || currMenuItem.isOneStandardMeal" style="flex:1;overflow-y: auto;height: 100%">
        <div class="page__hd no-padder">
            <article class="weui-article no-padder">
                <section class="m-b-none">
                    <img src="../..{{ currMenuItem.entity.picpath }}" img-error="img/wx/order_dishes/diancai_nopic.png"
                         style="width: 100%;height: 300px; object-fit: cover;"/>
                </section>
            </article>
        </div>
        <div class="page__bd " style="margin-bottom:46px">
            <div class="weui-cells m-t-none">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p>{{currMenuItem.entity.name}}</p>
                        <p class="m-b-xs" style="color:#FA2046">
                            <span>{{currMenuItem.entity.currStandard.price}}</span>元
                            /
                            <span ng-bind="currMenuItem.entity.currStandard.unit"></span>
                        </p>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p class="m-b-sm">规格</p>
                        <div class="weui-btn  weui-btn_middle no-border m-r-sm"
                             ng-repeat="item in currMenuItem.entity.standards"
                             ng-class="{'weui-btn_default':currMenuItem.entity.currStandard !=item,'weui-btn_warn':currMenuItem.entity.currStandard == item}"
                             ng-click="currMenuItem.entity.currStandard_click(item)"
                             style="font-size:12px;display: inline-block">
                            <span>{{item.price}}</span>元 / <span ng-bind="item.unit"></span>
                        </div>
                    </div>
                </div>

                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p class="">数量</p>
                    </div>
                    <div class="weui-cell__ft">
                        <div class="weui-flex" ng-show="currMenuItem.entity.currStandard.soldout!= 0">
                            <div style="margin-top:4px" ng-show="currMenuItem.entity.currStandard.count!=0">
                                <img style="width:60%;" ng-click="currMenuItem.entity.btnMinusCount_click()"
                                     src=""/>
                            </div>
                            <div class="weui-flex__item m-l-sm" style="margin-top:3px" ng-show="currMenuItem.entity.currStandard.count!=0">
                                {{currMenuItem.entity.currStandard.count}}
                            </div>
                            <div style="margin-top:4px">
                                <img style="width:60%;" ng-click="currMenuItem.entity.btnAddCount_click()"
                                     src=""/>
                            </div>
                        </div>
                        <div class="weui-flex" ng-show="currMenuItem.entity.currStandard.soldout == 0" style="color: #888;font-size: 14px">
                            <span >卖光啦</span>
                        </div>
                    </div>
                </div>
                <div class="weui-cell" ng-show="currMenuItem.entity.recipes.length > 0">
                    <div class="weui-cell__bd">
                        <p class="m-b-sm">要求</p>
                        <label class="weui-btn  weui-btn_middle no-border m-r-xs"
                               ng-repeat="item in currMenuItem.entity.recipes"
                               ng-class="{'weui-btn_default':currMenuItem.entity.currRecipes.indexOf(item) == -1,'weui-btn_warn':currMenuItem.entity.currRecipes.indexOf(item) != -1}"
                               ng-click="currMenuItem.entity.currRecipe_click(item)"
                               style="font-size:12px;display: inline-block">
                            <span ng-bind="item"></span>
                        </label>
                    </div>
                </div>
            </div>
            <div class="weui-cells weui-cells_form bg-default m-t-none m-b-sm">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="其它要求" rows="3"
                                  ng-model="currMenuItem.entity.remark"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div ng-show="currMenuItem.isSetMeal()" style="flex:1;overflow-y: auto;height: 100%">
        <div class="page__hd no-padder">
            <article class="weui-article no-padder">
                <section class="m-b-none">
                    <img src="../..{{ currMenuItem.entity.picpath }}" img-error="img/wx/order_dishes/diancai_nopic.png"
                         style="width: 100%;height: 300px; object-fit: cover;"/>
                </section>
            </article>
        </div>
        <div class="page__bd no-padder">
            <div class="weui-cells m-t-none">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p>{{currMenuItem.entity.name}}</p>
                        <p class="m-b-xs" style="color:#FA2046" ng-show="currMenuItem.entity.totalPrice() != 0">
                            <span>{{currMenuItem.entity.totalPrice()}}</span>元
                            /
                            <span ng-bind="currMenuItem.entity.currStandard.unit"></span>
                        </p>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p class="">数量</p>
                    </div>
                    <div class="weui-cell__ft">
                        <div class="weui-flex">
                            <div style="margin-top:4px">
                                <img style="width:70%;" ng-click="currMenuItem.entity.btnMinusCount_click()"
                                     src=""/>
                            </div>
                            <div class="weui-flex__item m-l-sm" style="margin-top:3px">
                                {{currMenuItem.entity.currStandard.count}}
                            </div>
                            <div style="margin-top:4px">
                                <img style="width:70%;" ng-click="currMenuItem.entity.btnAddCount_click()"
                                     src=""/>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="setMeal" ng-repeat="item in currMenuItem.entity.types">
                    <div class="weui-flex bg-default wrapper m-t-sm" style="line-height:1"
                         ng-click="currMenuItem.entity.chooseCurrMealTypes_click(item)">
                        <p class="weui-flex__item">
                            <span ng-bind="item.typeName"></span>
                            <small style="color:#999">(必选{{item.max}}项)</small>
                        </p>
                        <span class="weui-badge" style="margin-left: 5px;"
                              ng-show="currMenuItem.entity.totalCount(item.code) != 0">{{currMenuItem.entity.totalCount(item.code)}}</span>&nbsp;
                        <img src="img/wx/order_dishes/rightMeal.png"
                             ng-show="item.code != currMenuItem.entity.currMealType.code"/>
                        <img src="img/wx/order_dishes/downMeal.png"
                             ng-show="item.code == currMenuItem.entity.currMealType.code"/>
                    </div>
                    <div class="weui-cells weui-cells_checkbox m-t-none"
                         ng-show="item.code == currMenuItem.entity.currMealType.code">
                        <div class="weui-cells weui-cells_checkbox m-t-none">
                            <div ng-repeat="item1 in currMenuItem.entity.mealList | filter:{typecode:currMenuItem.entity.currMealType.code}">
                                <label class="weui-cell weui-check__label">
                                    <div class="weui-cell__bd"
                                         ng-class="{'text-grey':item1.isEqualMaxCount() && !item1.defaultSelected}">
                                        <p><span>{{item1.name}}</span>/<span>{{item1.unit}}</span> 共<span>{{item1.count}}</span>份</p>

                                    </div>
                                    <div class="weui-cell__hd">
                                        <input type="checkbox" class="weui-check" ng-model="item1.defaultSelected"
                                               ng-change="item1.chooseItem_change()">
                                        <i class="weui-icon-checked"></i>
                                    </div>
                                </label>
                                <div class="m-l-sm">
                                     <span class="weui-btn weui-btn_xs m-r-xs "
                                           ng-repeat="recipe in item1.recipes"
                                           ng-class="{'weui-btn_default':item1.currRecipes.indexOf(recipe) == -1,'weui-btn_warn':item1.currRecipes.indexOf(recipe) != -1}"
                                           ng-click="item1.currRecipe_click(recipe);$event.stopPropagation();"
                                           ng-show="item1.defaultSelected"
                                           style="font-size:12px;display: inline-block;margin-top: -15px">
                                        <span ng-bind="recipe"></span>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <div class="weui-cells weui-cells_form bg-default m-t-none m-b-sm">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="其它要求" rows="3"
                                  ng-model="currMenuItem.entity.remark"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div>
        <div class="weui-flex" ng-show="!cart.hasCart() && !currMenuItem.isMeal()&& !currMenuItem.isSetMeal() && !currMenuItem.isOneStandardMeal">
            <div class="wrapper-xs padder " style="padding-top:7px;padding-bottom:5px">
                <img src=""/>
            </div>
            <div class="weui-flex__item page__desc text-center text-md m-t-sm">0个项目</div>
            <div class="wrapper-sm bg-default  page__desc m-t-none" style="padding-left:30px;padding-right:30px">
                去结算
            </div>
        </div>
        <div class="weui-flex" style="background-color:#333333;"
             ng-show="cart.hasCart()&&!currMenuItem.isMeal()&& !currMenuItem.isSetMeal() && !currMenuItem.isOneStandardMeal">
            <div class="wrapper-xs padder" style="padding-top:7px;padding-bottom:5px"
                 ng-click="cart.showCartDetail_click()">
                <img src=""/>
            </div>
            <div class="weui-flex__item   text-white wrapper-xs" style="background-color:#333333;padding-top:13px;">
                <span ng-bind="cart.totalCount()" style="color:#FA2046"></span> 个项目,共 <span ng-bind="cart.totalPrice()"
                                                                                            style="color:#FA2046"></span>
                元
            </div>
            <div class="bg-default m-t-none text-white wrapper-sm "
                 style="background-color:#FA2046;padding:13px 24px 0 24px;"
                 ng-click="cart.payBill_click()">
                去结算
            </div>
        </div>
        <div ng-show="cart.showMask">
            <div class="weui-mask" ng-click="cart.cancelMask_click()"></div>
            <div class="weui-actionsheet weui-actionsheet_toggle box">
                <div class="weui-cells m-t-none">
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <img style="display:block;width:60%"
                                 src=""/>
                        </div>
                        <div class="weui-cell__bd">
                            <p class="text-sm">购物车</p>
                        </div>
                        <div class="weui-cell__ft text-sm" ng-click="cart.btnCancelCart_click()">清空</div>
                    </div>
                </div>
                <div class="content weui-cells m-t-none padder ">
                    <div class="b-b" ng-repeat="item in cart.items">
                        <div class="weui-flex  wrapper-xs" style="line-height:1">
                            <div class="weui-flex__item text-sm" style="margin-top:4px">
                                <div class="placeholder m-b-xs">{{item.name}}</div>
                                &emsp;<label style="font-size:10px;color:#ABABAB;"
                                             ng-show="item.recipes.length > 0"
                                             ng-repeat="item1 in item.recipes">
                                <span>{{item1}}</span>
                            </label>
                                <div style="font-size:13px;color:#ABABAB;" ng-show="item.setMeal">
                                    <div ng-repeat="item1 in item.setMeal ">
                                        <p style="text-indent:5px">
                                            &emsp;<span ng-bind="item1.name"></span> X <span
                                                ng-bind="item1.count"></span>
                                            <span ng-show="item1.currRecipes.length">&emsp;(<span
                                                    ng-bind="item1.currRecipes.join(', ')"></span>)</span>
                                        </p>
                                    </div>
                                </div>
                            </div>
                            <div class="text-sm" style="margin-top:4px">
                                <div class="placeholder" ng-show="item.setMeal.length == 0">
                                    <span>{{item.standrand.price}}</span>/{{item.standrand.unit}}
                                </div>
                                <div class="placeholder" ng-show="item.setMeal.length > 0">
                                    <span>{{item.price}}</span>/{{item.standrand.unit}}
                                </div>
                            </div>
                            <div class="text-sm m-l-sm">
                                <div class="placeholder">
                                    <div class="weui-flex">
                                        <div style="margin-top:3px" class="weui-flex__item text-right"
                                             ng-click="item.btnMinusCartCount_click()">
                                            <img style="width:80%;"
                                                 src=""/>
                                        </div>
                                        <div class="weui-flex__item text-center" style="margin-top:5px">
                                            {{item.count}}
                                        </div>
                                        <div class="weui-flex__item" style="margin-top:3px"
                                             ng-click="item.btnAddCartCount_click()">
                                            <img style="width:80%;"
                                                 src=""/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="weui-flex" style="background-color:#333333;">
                    <div class="weui-flex__item  wrapper text-white" style="background-color:#333333;padding-top:12px;">
                        <span ng-bind="cart.totalCount()" style="color:#FA2046"></span> 个项目,共 <span
                            ng-bind="cart.totalPrice()" style="color:#FA2046"></span> 元
                    </div>
                    <div class="bg-default m-t-none text-white wrapper" ng-click="cart.payBill_click()"
                         style="background-color:#FA2046;padding:13px 24px 0 24px;">
                        去结算
                    </div>
                </div>
            </div>
        </div>
        <div class="weui-flex" ng-show="currMenuItem.isMeal() || currMenuItem.isOneStandardMeal">
            <div>
                <a class="weui-btn  no-radius"
                   style="background-color:#333333;padding-left:25px;padding-right:25px"
                   ng-click="currMenuItem.entity.return_click()">返回</a>
            </div>
            <div class="weui-flex__item">
                <a class="weui-btn weui-btn_warn no-radius"  ng-class="!currMenuItem.entity.hasCountMeal() ? 'weui-btn_disabled':''" ng-click="currMenuItem.entity.chooses_ok_click()">确认</a>
            </div>
        </div>
        <div class="weui-flex" ng-show="currMenuItem.isSetMeal()">
            <div>
                <a class="weui-btn  no-radius" style="background-color:#333333;padding-left:25px;padding-right:25px"
                   ng-click="currMenuItem.entity.return_click()">返回</a>
            </div>
            <div class="weui-flex__item">
                <a class="weui-btn weui-btn_warn  no-radius"
                   ng-class="!currMenuItem.entity.hasCountSetMeal() ? 'weui-btn_disabled':''"
                   ng-click="currMenuItem.entity.chooseMeal_ok_click()">
                    <span ng-bind="currMenuItem.entity.btnChooseMealOK_text()"></span>
                </a>
            </div>
        </div>
    </div>
</div>-->
<div class="page js_show" ng-controller="OrderDishesCtrl" style="">
    <div class="pageView" ng-show="!currMenuItem.isMeal() && !currMenuItem.isSetMeal() && !currMenuItem.isOneStandardMeal">
        <div class="page-hv wrapper-sm" >
            <span class="hv-title"  ng-if="menu.commendItems.length>0">菜品推荐</span>
            <div class="weui-btn weui-btn_mini weui-btn_warn pull-right"  ng-click="menu.chooseSmallPhoto_click()" >切换模式</div>
            <div class="hv-content m-t-sm" style="width:100%;white-space:nowrap;overflow-x: auto;" ng-if="menu.commendItems.length>0">
                <div ng-repeat="item in menu.commendItems" class="m-r-sm commendItem" >
                    <div style="">
                        <div class="recommendImg">
                            <img class="w-full" ng-src="../..{{item.picpath}}"  img-error="img/wx/order_dishes/diancai_nopic.png"  ng-click="menu.btnChooseItem_click(item,'img')">
                        </div>
                        <p class="content-name">{{item.name}}</p>
                        <div class="weui-flex">
                            <div class="weui-flex__item">
                                <p style="font-size: .26rem;" class="text-color">
                                    ￥<span>{{item.standards[0].price + '起'}}</span>
                                </p></div>
                            <div class="weui-flex" style="padding-right: 5px">
                                <div class="weui-flex">
                                    <div  ng-show="cart.itemCount(item)!=0">
                                        <img class="smallIcon"  ng-click="menu.btnMinusCount_click(item)" src=""/>
                                    </div>
                                    <div class="weui-flex__item"  ng-show="cart.itemCount(item)!=0" style="padding: 3px;font-size: .24rem;">
                                        {{cart.itemCount(item)}}
                                    </div>
                                    <div style="" >
                                        <img ng-click="menu.btnChooseItem_click(item)"src="" class="smallIcon"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="page-content" >
            <div class="content-left"  ng-hide="menu.isShowbigModel">
                <ul class="">
                    <li class="wrapper-md b-b text-center" ng-repeat="item in menu.menuTypes"
                        ng-click="menu.btnChooseCurrType_click(item)"
                        ng-class="{'type-choose':currMenuType.menuType == item}">
                        <span style="font-size: .28rem">{{item.name}}</span>
                    </li>
                </ul>
            </div>
            <div class="content-right" style="padding-bottom: 50px">
                <div class="weui-cells" ng-repeat="item in menu.menuItems | filter: { typecode:currMenuType.menuType.code}" style="margin-top:0px">
                    <label class="weui-cell" style="padding: 0">
                        <div class="weui-cell__hd" ng-show="item.picpath != ''" ng-click="menu.btnChooseItem_click(item,'img')">
                            <img src="../..{{ item.picpath }}" img-error="img/wx/order_dishes/diancai_nopic.png" ng-class="menu.isShowbigModel ? 'bigPhoto':'smallPhoto'"  />
                        </div>
                        <div class="weui-cell__hd" ng-show="item.picpath == ''" ng-click="menu.btnChooseItem_click(item,'img')">
                            <img src="img/wx/order_dishes/diancai_nopic.png" ng-class="menu.isShowbigModel ? 'bigPhoto':'smallPhoto'" />
                        </div>
                        <div class="weui-cell__bd" style="padding-right: .24rem">
                            <p><span  ng-class="menu.isShowbigModel ? 'bigText-choose':'text-choose'" >{{item.name}}</span></p>
                            <div class="weui-flex" style="margin-top: .6rem">
                                <div class="weui-flex__item">
                                    <p class="text-color " ng-class="{'text-tips':!menu.isShowbigModel,'bigText-tips':menu.isShowbigModel}">
                                        ￥<span class="">{{item.standards[0].price}}</span><span
                                            class="">起</span>
                                    </p>
                                </div>
                                <div class="text-right">
                                    <div class="weui-flex"  ng-show="!item.isSoldOut">
                                        <div style="margin-top:3px" ng-show="cart.itemCount(item)!=0">
                                            <img ng-class="menu.isShowbigModel ? 'bigIcon':'normalIcon'" ng-click="menu.btnMinusCount_click(item)"src=""/>
                                        </div>
                                        <div class="weui-flex__item m-l-sm m-r-sm" ng-show="cart.itemCount(item)!=0"  ng-class="{'text-tips':!menu.isShowbigModel,'bigText-tips':menu.isShowbigModel}">
                                            {{cart.itemCount(item)}}
                                        </div>
                                        <div style="margin-top:3px">
                                            <img ng-class="menu.isShowbigModel ? 'bigIcon':'normalIcon'" ng-click="menu.btnChooseItem_click(item)" src=""/>
                                        </div>
                                    </div>
                                    <div class="weui-flex" ng-show="item.isSoldOut" style="font-size: 14px;color: #888">
                                        <span >卖光啦</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </label>
                </div>
            </div>
        </div>
        <div class="page-bottom"  ng-show="cart.hasCart()" style="border-top: 1px solid rgba(183,183,183,0.2)">
            <div class="weui-flex" style="background-color:#333333;"
                 ng-show="cart.hasCart()&&!currMenuItem.isMeal()&& !currMenuItem.isSetMeal() && !currMenuItem.isOneStandardMeal">
                <div class="wrapper-xs padder" style="padding-top:7px;padding-bottom:5px"
                     ng-click="cart.showCartDetail_click()">
                    <img src=""/>
                </div>
                <div class="weui-flex__item   text-white wrapper-xs" style="background-color:#333333;padding-top:15px;font-size: .3rem">
                    <span ng-bind="cart.totalCount()" style="color:#FA2046"></span> 个项目,共 <span ng-bind="cart.totalPrice()" style="color:#FA2046"></span>元
                </div>
                <div class="bg-default m-t-none text-white wrapper-sm "
                     style="background-color:#E64340;padding:12px 24px; font-size: .4rem"
                     ng-click="cart.payBill_click()">
                    去结算
                </div>
            </div>
        </div>
        <div class="page-bottom"  ng-show="!cart.hasCart()" style="border-top: 1px solid rgba(183,183,183,0.2)">
            <div class="weui-flex">
                <div class="wrapper-xs padder " style="padding-top:7px;padding-bottom:5px">
                    <img src=""/>
                </div>
                <div class="weui-flex__item page__desc text-center text-md m-t-sm">0个项目</div>
                <div class="wrapper-sm bg-default  page__desc m-t-none" style="padding-left:30px;padding-right:30px">
                    去结算
                </div>
            </div>
        </div>
        <!--<div class="cartImg"  ng-show="cart.hasCart() || cart.showMask"  ng-click="cart.showCartDetail_click()"><img src="img/wx/reserve/cart.png" style="width: 6rem;height: 6rem;position: fixed;bottom: 0.2rem;z-index:9999"/></div>-->
        <!--<div class="cartImg"  ng-show="!cart.hasCart()"><img src="img/wx/reserve/cart1.png" style="width: 4.5rem;height: 4.5rem;position: fixed;bottom: 1rem;left: 0.8rem";z-index="1002"/></div>-->
        <!--<div class="floatImg " ng-click="menu.chooseSmallPhoto_click()" > <img class="SmallFloatImg" src="img/wx/order_dishes/type.png" ng-show="menu.isFloatButton"/></div>-->
    </div>
    <div class="pageSingle" ng-show="currMenuItem.isMeal() || currMenuItem.isOneStandardMeal">
        <div class="page__hd no-padder">
            <article class="weui-article no-padder">
                <section class="m-b-none">
                    <img src="../..{{ currMenuItem.entity.picpath }}" img-error="img/wx/order_dishes/diancai_nopic.png"
                         style="width: 100%;height: 35vh; object-fit: cover;"/>
                </section>
            </article>
        </div>
        <div class="page__bd" style="flex: 1;overflow-y: auto">
            <div class="weui-cells m-t-none">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p>{{currMenuItem.entity.name}}</p>
                        <p class="m-b-xs text-color" >
                            <span>{{currMenuItem.entity.currStandard.price}}</span>元
                            /
                            <span ng-bind="currMenuItem.entity.currStandard.unit"></span>
                        </p>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p class="m-b-sm">规格</p>
                        <div class="weui-btn  weui-btn_middle no-border m-r-sm"
                             ng-repeat="item in currMenuItem.entity.standards"
                             ng-class="{'weui-btn_default':currMenuItem.entity.currStandard !=item,'weui-btn_orange':currMenuItem.entity.currStandard == item}"
                             ng-click="currMenuItem.entity.currStandard_click(item)"
                             style="font-size:12px;display: inline-block">
                            <span>{{item.price}}</span>元 / <span ng-bind="item.unit"></span>
                        </div>
                    </div>
                </div>

                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p class="">数量</p>
                    </div>
                    <div class="weui-cell__ft">
                        <div class="weui-flex" ng-show="currMenuItem.entity.currStandard.soldout!= 0">
                            <div style="margin-top:4px" ng-show="currMenuItem.entity.currStandard.count!=0">
                                <img class="normalIcon" ng-click="currMenuItem.entity.btnMinusCount_click()"
                                     src=""/>
                            </div>
                            <div class="weui-flex__item m-l-sm m-r-sm" style="margin-top:3px" ng-show="currMenuItem.entity.currStandard.count!=0">
                                {{currMenuItem.entity.currStandard.count}}
                            </div>
                            <div style="margin-top:4px">
                                <img class="normalIcon" ng-click="currMenuItem.entity.btnAddCount_click()"
                                     src=""/>
                            </div>
                        </div>
                        <div class="weui-flex" ng-show="currMenuItem.entity.currStandard.soldout == 0" style="font-size: 14px;color: #888">
                            <span >卖光啦</span>
                        </div>
                    </div>
                </div>
                <div class="weui-cell" ng-show="currMenuItem.entity.recipes.length > 0">
                    <div class="weui-cell__bd">
                        <p class="m-b-sm">要求</p>
                        <label class="weui-btn  weui-btn_middle no-border m-r-xs"
                               ng-repeat="item in currMenuItem.entity.recipes"
                               ng-class="{'weui-btn_default':currMenuItem.entity.currRecipes.indexOf(item) == -1,'weui-btn_orange':currMenuItem.entity.currRecipes.indexOf(item) != -1}"
                               ng-click="currMenuItem.entity.currRecipe_click(item)"
                               style="font-size:12px;display: inline-block">
                            <span ng-bind="item"></span>
                        </label>
                    </div>
                </div>
            </div>
            <div class="weui-cells weui-cells_form bg-default m-t-none m-b-sm">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="其它要求" rows="3"
                                  ng-model="currMenuItem.entity.remark"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="bottom">
            <div class="weui-flex">
                <div class="weui-btn  no-radius"
                     style="background-color:#333333;padding-left:25px;padding-right:25px"
                     ng-click="currMenuItem.entity.return_click()">返回
                </div>
                <div class="weui-flex__item">
                    <a class="weui-btn weui-btn_warn no-radius"  ng-class="!currMenuItem.entity.hasCountMeal() ? 'weui-btn_disabled':''" ng-click="currMenuItem.entity.chooses_ok_click()">确认</a>
                </div>
                <div/>
            </div>
        </div>
    </div>
    <div class="pageSetMeal" ng-show="currMenuItem.isSetMeal()">
        <div class="page__hd no-padder">
            <article class="weui-article no-padder">
                <section class="m-b-none">
                    <img src="../..{{ currMenuItem.entity.picpath }}" img-error="img/wx/order_dishes/diancai_nopic.png"
                         style="width: 100%;height: 35vh; object-fit: cover;"/>
                </section>
            </article>
        </div>
        <div class="page__bd no-padder" style="flex: 1;overflow-y: auto">
            <div class="weui-cells m-t-none">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p>{{currMenuItem.entity.name}}</p>
                        <p class="m-b-xs text-color"  ng-show="currMenuItem.entity.totalPrice() != 0">
                            <span>{{currMenuItem.entity.totalPrice()}}</span>元
                            /
                            <span ng-bind="currMenuItem.entity.currStandard.unit"></span>
                        </p>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <p  style="color:#999999;">数量</p>
                    </div>
                    <div class="weui-cell__ft">
                        <div class="weui-flex">
                            <div style="margin-top:4px">
                                <img class="normalIcon" ng-click="currMenuItem.entity.btnMinusCount_click()"
                                     src=""/>
                            </div>
                            <div class="weui-flex__item m-l-sm m-r-sm" style="margin-top:3px">
                                {{currMenuItem.entity.currStandard.count}}
                            </div>
                            <div style="margin-top:4px">
                                <img class="normalIcon" ng-click="currMenuItem.entity.btnAddCount_click()"
                                     src=""/>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="setMeal" ng-repeat="item in currMenuItem.entity.types">
                    <div class="weui-flex wrapper m-t-sm" style="line-height:1"
                         ng-click="currMenuItem.entity.chooseCurrMealTypes_click(item)"
                         ng-class="item.code != currMenuItem.entity.currMealType.code ? 'b-b':''">
                        <p class="weui-flex__item">
                            <span style="color: #000000;font-size: .4rem;font-weight: bold" ng-bind="item.typeName"></span>
                            <small style="color:#999999">(已选<span class="text-color">{{currMenuItem.entity.totalCount(item.code)}}</span>份/必选{{item.max}}份)</small>
                        </p>&nbsp;
                        <img src="img/wx/order_dishes/rightMeal.png"
                             ng-show="item.code != currMenuItem.entity.currMealType.code"/>
                        <img src="img/wx/order_dishes/downMeal.png"
                             ng-show="item.code == currMenuItem.entity.currMealType.code"/>
                    </div>
                    <div class="showDetail m-t-none"
                         ng-show="item.code == currMenuItem.entity.currMealType.code">
                        <div class="weui-cells weui-cells_checkbox m-t-none">
                            <div ng-repeat="item1 in currMenuItem.entity.mealList | filter:{typecode:currMenuItem.entity.currMealType.code}">
                                <label class="weui-cell weui-check__label">
                                    <div class="weui-cell__bd">
                                        <p style="color: #666666;font-size: .3rem"><span>{{item1.name}}</span>/<span>{{item1.unit}}</span> 共<span>{{item1.count}}</span>份</p>
                                    </div>
                                    <div class="weui-cell__hd">
                                        <input type="checkbox" class="weui-check" ng-model="item1.defaultSelected"
                                               ng-change="item1.chooseItem_change()">
                                        <i class="weui-icon-checked"></i>
                                    </div>
                                </label>
                                <div class="m-l-sm">
                                           <span class="weui-btn weui-btn_xs m-r-xs "
                                                 ng-repeat="recipe in item1.recipes"
                                                 ng-class="{'weui-btn_default':item1.currRecipes.indexOf(recipe) == -1,'weui-btn_orange':item1.currRecipes.indexOf(recipe) != -1}"
                                                 ng-click="item1.currRecipe_click(recipe);$event.stopPropagation();"
                                                 ng-show="item1.defaultSelected"
                                                 style="font-size:12px;display: inline-block;margin-top: -15px">
                                            <span ng-bind="recipe"></span>
                                        </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="weui-cells weui-cells_form bg-default m-t-none m-b-sm">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="其它要求" rows="3"
                                  ng-model="currMenuItem.entity.remark"></textarea>
                    </div>
                </div>
            </div>
        </div>
        <div class="bottom">
            <div class="weui-flex" ng-show="currMenuItem.isSetMeal()">
                <div>
                    <a class="weui-btn  no-radius" style="background-color:#333333;padding-left:25px;padding-right:25px"
                       ng-click="currMenuItem.entity.return_click()">返回</a>
                </div>
                <div class="weui-flex__item">
                    <a class="weui-btn weui-btn_warn  no-radius"
                       ng-class="!currMenuItem.entity.hasCountSetMeal() ? 'weui-btn_disabled':''"
                       ng-click="currMenuItem.entity.chooseMeal_ok_click()">
                        <span ng-bind="currMenuItem.entity.btnChooseMealOK_text()"></span>
                    </a>
                </div>
            </div>
        </div>
    </div>
    <div ng-show="cart.showMask">
        <div class="weui-mask" ng-click="cart.cancelMask_click()"></div>
        <div class="weui-actionsheet weui-actionsheet_toggle box">
            <div class="weui-cells m-t-none">
                <div class="weui-cell">
                    <div class="weui-cell__hd">
                        <img style="display:block;width:60%"
                             src=""/>
                    </div>
                    <div class="weui-cell__bd">
                        <p class="text-sm">购物车</p>
                    </div>
                    <div class="weui-cell__ft text-sm" ng-click="cart.btnCancelCart_click()">清空</div>
                </div>
            </div>
            <div class="content weui-cells m-t-none padder ">
                <div class="b-b" ng-repeat="item in cart.items">
                    <div class="weui-flex  wrapper-xs" style="line-height:1">
                        <div class="weui-flex__item text-sm" style="margin-top:4px">
                            <div class="placeholder m-b-xs">{{item.name}}</div>
                            &emsp;<label style="font-size:10px;color:#ABABAB;"
                                         ng-show="item.recipes.length > 0"
                                         ng-repeat="item1 in item.recipes">
                            <span>{{item1}}</span>
                        </label>
                            <div style="font-size:13px;color:#ABABAB;" ng-show="item.setMeal">
                                <div ng-repeat="item1 in item.setMeal ">
                                    <p style="text-indent:5px">
                                        &emsp;<span ng-bind="item1.name"></span> X <span
                                            ng-bind="item1.count"></span>
                                        <span ng-show="item1.currRecipes.length">&emsp;(<span
                                                ng-bind="item1.currRecipes.join(', ')"></span>)</span>
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="text-sm" style="margin-top:4px">
                            <div class="placeholder" ng-show="item.setMeal.length == 0">
                                <span>{{item.standrand.price}}</span>/{{item.standrand.unit}}
                            </div>
                            <div class="placeholder" ng-show="item.setMeal.length > 0">
                                <span>{{item.price}}</span>/{{item.standrand.unit}}
                            </div>
                        </div>
                        <div class="text-sm m-l-sm">
                            <div class="placeholder">
                                <div class="weui-flex">
                                    <div style="margin-top:3px" class="weui-flex__item text-right"
                                         ng-click="item.btnMinusCartCount_click()">
                                        <img style="width:80%;"
                                             src=""/>
                                    </div>
                                    <div class="weui-flex__item text-center" style="margin-top:5px">
                                        {{item.count}}
                                    </div>
                                    <div class="weui-flex__item" style="margin-top:3px"
                                         ng-click="item.btnAddCartCount_click()">
                                        <img style="width:80%;"
                                             src=""/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <div class="weui-flex" style="background-color:#333333;">
                <div class="weui-flex__item  wrapper text-white" style="background-color:#333333;padding-top:15px;font-size: .3rem">
                    <span ng-bind="cart.totalCount()" style="color:#FA2046"></span> 个项目,共 <span
                        ng-bind="cart.totalPrice()" style="color:#FA2046"></span> 元
                </div>
                <div class="bg-default m-t-none text-white wrapper" ng-click="cart.payBill_click()"
                     style="background-color:#E64340;padding:12px 24px;font-size: .4rem; ">
                    去结算
                </div>
            </div>
        </div>
    </div>

</div>
